package com.wu.dms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wu.dms.dao.entity.Singer;
import com.wu.dms.dto.SingerRequestDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author Cousin
 */
public interface SingerService extends IService<Singer> {

    void addSinger(SingerRequestDTO addSingerRequestDTO);

    void updateSingerMsg(SingerRequestDTO updateSingerRequestDTO);

    void updateSingerPic(MultipartFile avatarFile, Long id);

    void deleteSinger(Long id);


    List<Singer> actorOfName(String name);

    List<Singer> actorOfSex(Integer sex);
}
